Microsoft Cognitive Language Service - Analyze Text Authoring (preview:2024-11-15)

2025/04/15 • 1 updated methods

TextAuthoringProject_Train (updated)
Description Triggers a training job for a project.
Reference Link ¶

⚶ Changes

{
  "#id": "TextAuthoringProject_Train",
  "$parameters": {
    "body": {
      "$properties": {
        "dataGenerationSettings": [
          {
            "dataGenerationConnectionInfo": [
              {
                "#name": "kind",
                "Enum": {
                  "new": [
                    [
                      "AzureOpenAI",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "azureOpenAI",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /authoring/analyze-text/projects/{projectName}/:train
{
api-version: string ,
projectName: string ,
body:
{
modelLabel: string ,
trainingConfigVersion: string ,
evaluationOptions:
{
kind: enum ,
trainingSplitPercentage: integer ,
testingSplitPercentage: integer ,
}
,
dataGenerationSettings:
{
enableDataGeneration: boolean ,
dataGenerationConnectionInfo:
{
kind: enum ,
resourceId: string ,
deploymentName: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}